
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>php常量 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="06_php运算符.html" />
    
    
    <link rel="prev" href="04_php数据类型.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="01_php介绍.html">
            
                <a href="01_php介绍.html">
            
                    
                    php基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="01_php介绍.html">
            
                <a href="01_php介绍.html">
            
                    
                    php介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="02_PHP基础语法.html">
            
                <a href="02_PHP基础语法.html">
            
                    
                    php基础语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="03_php变量.html">
            
                <a href="03_php变量.html">
            
                    
                    php变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="04_php数据类型.html">
            
                <a href="04_php数据类型.html">
            
                    
                    php数据类型
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.5" data-path="05_php常量.html">
            
                <a href="05_php常量.html">
            
                    
                    php常量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="06_php运算符.html">
            
                <a href="06_php运算符.html">
            
                    
                    php运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="07_php流程控制.html">
            
                <a href="07_php流程控制.html">
            
                    
                    php流程控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="08_php数组.html">
            
                <a href="08_php数组.html">
            
                    
                    php数组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="09_php函数.html">
            
                <a href="09_php函数.html">
            
                    
                    php函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.10" data-path="10_php面向对象.html">
            
                <a href="10_php面向对象.html">
            
                    
                    php面向对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.11" data-path="11_php命名空间.html">
            
                <a href="11_php命名空间.html">
            
                    
                    php命名空间
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.12" data-path="12_php日期和时间.html">
            
                <a href="12_php日期和时间.html">
            
                    
                    php日期时间
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.13" data-path="13_php表单.html">
            
                <a href="13_php表单.html">
            
                    
                    php表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.14" data-path="14_php包含文件.html">
            
                <a href="14_php包含文件.html">
            
                    
                    php包含文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.15" data-path="15_php常用函数.html">
            
                <a href="15_php常用函数.html">
            
                    
                    php常用函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.16" data-path="../php高级/16_php常用变量函数.md">
            
                <span>
            
                    
                    php常用变量函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../php高级/01_php错误与异常.html">
            
                <a href="../php高级/01_php错误与异常.html">
            
                    
                    php错误与异常
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../php高级/02_PhpStorm本地断点调试.html">
            
                <a href="../php高级/02_PhpStorm本地断点调试.html">
            
                    
                    PhpStorm本地断点调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../php高级/03_php文件操作.html">
            
                <a href="../php高级/03_php文件操作.html">
            
                    
                    php文件操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../php高级/04_cookie机制.html">
            
                <a href="../php高级/04_cookie机制.html">
            
                    
                    cookie机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../php高级/05_session.html">
            
                <a href="../php高级/05_session.html">
            
                    
                    session
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../php高级/06_php画图.html">
            
                <a href="../php高级/06_php画图.html">
            
                    
                    php画图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../php高级/07_php加密机制.html">
            
                <a href="../php高级/07_php加密机制.html">
            
                    
                    php加密机制
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >php常量</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5E38;&#x91CF;">&#x5E38;&#x91CF;</h1>
<p>&#x5E38;&#x91CF;&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x4E3A;&#x503C;&#x4E0D;&#x53EF;&#x53D8;&#x7684;&#x53D8;&#x91CF;&#x3002;</p>
<p>&#x4E00;&#x4E2A;&#x5E38;&#x91CF;&#x4E00;&#x65E6;&#x88AB;&#x5B9A;&#x4E49;&#xFF0C;&#x5C31;&#x4E0D;&#x80FD;&#x518D;&#x6539;&#x53D8;&#x6216;&#x8005;&#x53D6;&#x6D88;&#x5B9A;&#x4E49;&#x3002;</p>
<h2 id="&#x5E38;&#x91CF;&#x7684;&#x7279;&#x6027;">&#x5E38;&#x91CF;&#x7684;&#x7279;&#x6027;</h2>
<ol>
<li>&#x5E38;&#x91CF;&#x533A;&#x5206;&#x5927;&#x5C0F;&#x5199;&#xFF0C;&#x5728;&#x5B9A;&#x4E49;&#x65F6;&#x53EF;&#x4EE5;&#x6307;&#x5B9A;&#x662F;&#x5426;&#x5927;&#x5C0F;&#x5199;&#x654F;&#x611F;</li>
<li>&#x9ED8;&#x8BA4;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x4ED6;&#x7684;&#x4F5C;&#x7528;&#x57DF;&#x662F;&#x5168;&#x5C40;&#xFF0C;&#x5728;&#x5F53;&#x524D;&#x811A;&#x672C;&#x4EFB;&#x4F55;&#x5730;&#x65B9;&#x90FD;&#x80FD;&#x4F7F;&#x7528;</li>
<li>&#x65B0;&#x5B9A;&#x4E49;&#x7684;&#x5E38;&#x91CF;&#x540D;&#x79F0;&#x4E0D;&#x80FD;&#x4E0E;&#x5DF2;&#x5B9A;&#x4E49;&#x7684;&#x5E38;&#x91CF;&#x548C;&#x53D8;&#x91CF;&#x540D;&#x79F0;&#x76F8;&#x540C;</li>
<li>&#x5728;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#x65F6;&#xFF0C;&#x5C3D;&#x91CF;&#x4F7F;&#x7528;&#x5927;&#x5199;&#x5B57;&#x7B26;&#x4FBF;&#x4E8E;&#x9605;&#x8BFB;&#x548C;&#x8BC6;&#x522B;</li>
<li>&#x5E38;&#x91CF;&#x7684;&#x540D;&#x79F0;&#x4E0D;&#x80FD;&#x4EE5;$&#x7B26;&#x5F00;&#x5934;&#xFF0C;&#x5E38;&#x91CF;&#x7684;&#x503C;&#x53EA;&#x80FD;&#x662F;&#x7279;&#x5B9A;&#x7684;&#x7C7B;&#x578B;&#xFF1A;&#x6574;&#x578B;&#x3001;&#x6D6E;&#x70B9;&#x578B;&#x3001;&#x5B57;&#x7B26;&#x4E32;&#x578B;&#x548C;&#x5E03;&#x5C14;&#x578B;&#x3002;</li>
</ol>
<h2 id="&#x5E38;&#x91CF;&#x7684;&#x5B9A;&#x4E49;">&#x5E38;&#x91CF;&#x7684;&#x5B9A;&#x4E49;</h2>
<blockquote>
<p>&#x53EF;&#x4EE5;&#x7528; define() &#x51FD;&#x6570;&#x6765;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#xFF0C;&#x5728; PHP 5.3.0 &#x4EE5;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; const &#x5173;&#x952E;&#x5B57;&#x5728;&#x7C7B;&#x5B9A;&#x4E49;&#x4E4B;&#x5916;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#x3002;&#x4E00;&#x4E2A;&#x5E38;&#x91CF;&#x4E00;&#x65E6;&#x88AB;&#x5B9A;&#x4E49;&#xFF0C;&#x5C31;&#x4E0D;&#x80FD;&#x518D;&#x6539;&#x53D8;&#x6216;&#x8005;&#x53D6;&#x6D88;&#x5B9A;&#x4E49;&#x3002;</p>
</blockquote>
<p>&#x4F7F;&#x7528;const&#x6765;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;</p>
<p>&#x7528;&#x6CD5;&#x4E00;&#xFF1A;const&#x7528;&#x4E8E;&#x7C7B;&#x6210;&#x5458;&#x53D8;&#x91CF;&#xFF0C;&#x4E00;&#x7ECF;&#x5B9A;&#x4E49;&#x4E0D;&#x53EF;&#x4FEE;&#x6539;&#xFF0C;define&#x7528;&#x4E8E;&#x5168;&#x5C40;&#x5E38;&#x91CF;&#xFF0C;&#x4E0D;&#x53EF;&#x7528;&#x4E8E;&#x7C7B;&#x6210;&#x5458;&#x53D8;&#x91CF;&#x7684;&#x5B9A;&#x4E49;&#xFF0C;const&#x53EF;&#x5728;&#x7C7B;&#x4E2D;&#x4F7F;&#x7528;&#xFF0C;define&#x4E0D;&#x80FD;&#x3002;</p>
<p>&#x7528;&#x6CD5;&#x4E8C;&#xFF1A;const&#x5B9A;&#x4E49;&#x7684;&#x5E38;&#x91CF;&#x5927;&#x5C0F;&#x5199;&#x654F;&#x611F;&#xFF0C;&#x800C;define&#x53EF;&#x901A;&#x8FC7;&#x7B2C;&#x4E09;&#x4E2A;&#x53C2;&#x6570;(&#x4E3A;TRUE&#x8868;&#x793A;&#x5927;&#x5C0F;&#x5199;&#x4E0D;&#x654F;&#x611F;)&#x6765;&#x6307;&#x5B9A;&#x5927;&#x5C0F;&#x5199;&#x662F;&#x5426;&#x654F;&#x611F;&#x3002;&#x5728;&#x8FD0;&#x884C;&#x65F6;&#x5B9A;&#x4E49;&#x4E00;&#x4E2A;&#x5E38;&#x91CF;&#x3002;define(&apos;TXE&apos;,100,TRUE);</p>
<p>&#x7528;&#x6CD5;&#x4E09;&#xFF1A;const&#x4E0D;&#x80FD;&#x5728;&#x6761;&#x4EF6;&#x8BED;&#x53E5;&#x4E2D;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#xFF0C;&#x800C;define&#x51FD;&#x6570;&#x53EF;&#x4EE5;&#x3002;</p>
<p>&#x4F7F;&#x7528;define&#x51FD;&#x6570;&#x6765;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#x3002;</p>
<h3 id="&#x8BED;&#x6CD5;">&#x8BED;&#x6CD5;</h3>
<pre><code class="lang-php">define(string $name,mixed $value[,bool $case_insensitive=<span class="hljs-keyword">false</span>])
</code></pre>
<h3 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h3>
<table>
<thead>
<tr>
<th style="text-align:left">&#x53C2;&#x6570;</th>
<th style="text-align:left">&#x53EF;&#x9009;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">name</td>
<td style="text-align:left">&#x5FC5;&#x9009;</td>
<td style="text-align:left">&#x5E38;&#x91CF;&#x7684;&#x540D;&#x79F0;</td>
</tr>
<tr>
<td style="text-align:left">value</td>
<td style="text-align:left">&#x5FC5;&#x9009;</td>
<td style="text-align:left">&#x5E38;&#x91CF;&#x7684;&#x503C;</td>
</tr>
<tr>
<td style="text-align:left">case_insensitive</td>
<td style="text-align:left">&#x53EF;&#x9009;</td>
<td style="text-align:left">&#x5982;&#x679C;&#x8BBE;&#x7F6E;&#x4E3A; TRUE&#xFF0C;&#x8BE5;&#x5E38;&#x91CF;&#x5219;&#x5927;&#x5C0F;&#x5199;&#x4E0D;&#x654F;&#x611F;&#x3002;&#x9ED8;&#x8BA4;&#x662F;&#x5927;&#x5C0F;&#x5199;&#x654F;&#x611F;&#x7684;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="&#x793A;&#x4F8B;&#xFF1A;">&#x793A;&#x4F8B;&#xFF1A;</h3>
<pre><code class="lang-php">define(URL,<span class="hljs-string">&apos;http://www.baidu.com&apos;</span>);
define(PORT,<span class="hljs-number">3306</span>);

<span class="hljs-keyword">echo</span> URL; <span class="hljs-comment">//&apos;http://www.baidu.com&apos;</span>
</code></pre>
<h3 id="&#x4F7F;&#x7528;&#x5173;&#x952E;&#x5B57;-const-&#x5B9A;&#x4E49;&#x5E38;&#x91CF;">&#x4F7F;&#x7528;&#x5173;&#x952E;&#x5B57; const &#x5B9A;&#x4E49;&#x5E38;&#x91CF;</h3>
<pre><code class="lang-php"><span class="hljs-meta">&lt;?php</span>
<span class="hljs-comment">// &#x4EE5;&#x4E0B;&#x4EE3;&#x7801;&#x5728; PHP 5.3.0 &#x540E;&#x53EF;&#x4EE5;&#x6B63;&#x5E38;&#x5DE5;&#x4F5C;</span>
<span class="hljs-keyword">const</span>  CONSTANT  =  <span class="hljs-string">&apos;Hello World&apos;</span> ;

<span class="hljs-keyword">echo</span>  CONSTANT ;
<span class="hljs-meta">?&gt;</span>
</code></pre>
<blockquote>
<p>Note: &#x548C;&#x4F7F;&#x7528; define() &#x6765;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#x76F8;&#x53CD;&#x7684;&#x662F;&#xFF0C;&#x4F7F;&#x7528; const &#x5173;&#x952E;&#x5B57;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#x5FC5;&#x987B;&#x5904;&#x4E8E;&#x6700;&#x9876;&#x7AEF;&#x7684;&#x4F5C;&#x7528;&#x533A;&#x57DF;&#xFF0C;&#x56E0;&#x4E3A;&#x7528;&#x6B64;&#x65B9;&#x6CD5;&#x662F;&#x5728;&#x7F16;&#x8BD1;&#x65F6;&#x5B9A;&#x4E49;&#x7684;&#x3002;&#x8FD9;&#x5C31;&#x610F;&#x5473;&#x7740;&#x4E0D;&#x80FD;&#x5728;&#x51FD;&#x6570;&#x5185;&#xFF0C;&#x5FAA;&#x73AF;&#x5185;&#x4EE5;&#x53CA; if &#x8BED;&#x53E5;&#x4E4B;&#x5185;&#x7528; const &#x6765;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;&#x3002;</p>
</blockquote>
<h2 id="&#x5E38;&#x91CF;&#x662F;&#x5168;&#x5C40;&#x7684;">&#x5E38;&#x91CF;&#x662F;&#x5168;&#x5C40;&#x7684;</h2>
<p>&#x5E38;&#x91CF;&#x5728;&#x5B9A;&#x4E49;&#x540E;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;&#x5168;&#x5C40;&#x53D8;&#x91CF;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;&#x6574;&#x4E2A;&#x8FD0;&#x884C;&#x7684;&#x811A;&#x672C;&#x7684;&#x4EFB;&#x4F55;&#x5730;&#x65B9;&#x4F7F;&#x7528;&#x3002; &#x4EE5;&#x4E0B;&#x5B9E;&#x4F8B;&#x6F14;&#x793A;&#x4E86;&#x5728;&#x51FD;&#x6570;&#x5185;&#x4F7F;&#x7528;&#x5E38;&#x91CF;&#xFF0C;&#x5373;&#x4FBF;&#x5E38;&#x91CF;&#x5B9A;&#x4E49;&#x5728;&#x51FD;&#x6570;&#x5916;&#x4E5F;&#x53EF;&#x4EE5;&#x6B63;&#x5E38;&#x4F7F;&#x7528;&#x5E38;&#x91CF;&#x3002;</p>
<pre><code class="lang-php">define(<span class="hljs-string">&apos;BAIDU&apos;</span>,<span class="hljs-string">&apos;http://www.baidu.com&apos;</span>);
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">abc</span><span class="hljs-params">()</span></span>{
    <span class="hljs-keyword">echo</span> BAIDU;
}
abc();
</code></pre>
<h2 id="&#x68C0;&#x67E5;&#x67D0;&#x4E2A;&#x540D;&#x79F0;&#x7684;&#x5E38;&#x91CF;&#x662F;&#x5426;&#x5B58;&#x5728;">&#x68C0;&#x67E5;&#x67D0;&#x4E2A;&#x540D;&#x79F0;&#x7684;&#x5E38;&#x91CF;&#x662F;&#x5426;&#x5B58;&#x5728;</h2>
<pre><code>bool defined ( string $name )
</code></pre><p>&#x8FD4;&#x56DE;&#x503C;:&#x5982;&#x679C;&#x8BE5;&#x540D;&#x79F0;&#x7684;&#x5E38;&#x91CF;&#x5DF2;&#x5B9A;&#x4E49;&#xFF0C;&#x8FD4;&#x56DE; TRUE&#xFF1B;&#x672A;&#x5B9A;&#x4E49;&#x5219;&#x8FD4;&#x56DE; FALSE&#x3002;</p>
<h2 id="&#x83B7;&#x53D6;&#x5DF2;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;">&#x83B7;&#x53D6;&#x5DF2;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;</h2>
<p>&#x7528; <code>get_defined_constants()</code> &#x53EF;&#x4EE5;&#x83B7;&#x5F97;&#x6240;&#x6709;&#x5DF2;&#x5B9A;&#x4E49;&#x7684;&#x5E38;&#x91CF;&#x5217;&#x8868;&#x3002;</p>
<pre><code class="lang-php"><span class="hljs-comment">//&#x8F93;&#x51FA;&#x6240;&#x6709;&#x7528;&#x6237;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;</span>
<span class="hljs-keyword">array</span> get_defined_constants(<span class="hljs-keyword">true</span>)[<span class="hljs-string">&apos;user&apos;</span>]
</code></pre>
<h2 id="&#x9884;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;">&#x9884;&#x5B9A;&#x4E49;&#x5E38;&#x91CF;</h2>
<table>
<thead>
<tr>
<th>&#x5E38;&#x91CF;&#x540D;</th>
<th>&#x4F5C;&#x7528;</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>FILE</strong></td>
<td>&#x83B7;&#x53D6;PHP&#x7A0B;&#x5E8F;&#x6587;&#x4EF6;&#x540D;</td>
</tr>
<tr>
<td><strong>DIR</strong></td>
<td>PHP&#x811A;&#x672C;&#x6240;&#x5728;&#x7684;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td><strong>LINE</strong></td>
<td>PHP&#x7A0B;&#x5E8F;&#x884C;&#x6570;</td>
</tr>
<tr>
<td>PHP_VERSION</td>
<td>PHP&#x7A0B;&#x5E8F;&#x7248;&#x672C;</td>
</tr>
<tr>
<td>PHP_OS</td>
<td>&#x6267;&#x884C;PHP&#x89E3;&#x6790;&#x5668;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x540D;&#x79F0;</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="04_php数据类型.html" class="navigation navigation-prev " aria-label="Previous page: php数据类型">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="06_php运算符.html" class="navigation navigation-next " aria-label="Next page: php运算符">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"php常量","level":"1.2.5","depth":2,"next":{"title":"php运算符","level":"1.2.6","depth":2,"path":"php/php基础/06_php运算符.md","ref":"./php/php基础/06_php运算符.md","articles":[]},"previous":{"title":"php数据类型","level":"1.2.4","depth":2,"path":"php/php基础/04_php数据类型.md","ref":"./php/php基础/04_php数据类型.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"php/php基础/05_php常量.md","mtime":"2020-04-23T09:59:52.385Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-23T11:06:38.883Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

